#include"tree.h"
#include<stdio.h>
#include<stdlib.h>

TreeNode * Tree_search(TreeNode * root,int value){

    if(NULL == root){

        // -没有找到
        return NULL;
    }
    if(root->value == value){

        return root;
    }
    if(root->value > value){

        return Tree_search(root->left,value);
    }
    return Tree_search(root->right,value);
}
